package com.caishi.lkx.user.vo;

import cn.hutool.core.bean.BeanUtil;
import com.caishi.lkx.user.model.AdminUserModel;
import com.caishi.lkx.user.model.GroupModel;
import com.caishi.lkx.user.model.LoginExpandModel;
import lombok.Getter;
import lombok.Setter;


/**
 * @author by keray
 * date:2021/4/26 2:59 下午
 */
@Getter
@Setter
public class GroupAdminUserListVo extends AdminUserModel {
    public static GroupAdminUserListVo model2Vo(AdminUserModel model) {
        GroupAdminUserListVo vo = new GroupAdminUserListVo();
        BeanUtil.copyProperties(model, vo);
        return vo;
    }

    // 用户名
    private String account;
    private LoginExpandModel loginData;
    private GroupModel groupModel;
}
